package br.com.lazyprogrammer.worldsoccermanager.network.model;

import java.io.Serializable;

public class Stadium implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -603399575067408052L;

    private final int DEFAULT_CAPACITY = 100;
    private final int DEFAULT_TICKET = 10;
	
	private String id, name;
	private int capacity, ticket;
    private double latitude, longitude;
	
	public Stadium() {
		
	}

    public Stadium(String id, String name) {
        this.id = id;
        this.name = name;

        capacity = DEFAULT_CAPACITY;
        ticket = DEFAULT_TICKET;
    }

    public Stadium(String id, String name, int capacity, int ticket) {
		this.id		= id;
		this.name	= name;
		
		this.capacity	= capacity;
		this.ticket		= ticket;
	}

	public int getCapacity() {
		return capacity;
	}
	
	public String getId() {
		return id;
	}

    public double getLatitude() {
        return latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public String getName() {
		return name;
	}
	
	public int getTicket() {
		return ticket;
	}
	
	public void setCapacity(int capacity) {
		this.capacity	= capacity;
	}

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public void setName(String name) {
		this.name	= name;
	}
	
	public void setTicket(int ticket) {
		this.ticket	= ticket;
	}

}
